

export default () => {
    const goHome = () => {
        uni.switchTab({
            url: '/pages/home/home'
        })
    }

    const goClassify = () => {
        uni.switchTab({
            url: '/pages/class/class'
        })
    }
    return {
        goHome,
        goClassify
    }
}